#include "wuActiveManager.h"

wuActiveZoneManager::wuActiveZoneManager()
{
}

wuActiveZoneManager::~wuActiveZoneManager()
{
}

void wuActiveZoneManager::addBitxo(ofImage *_skin, ofRectangle rect, ofxCvBlob *blob)
{
/*	wuSkin skin;
	skin.setup(_skin, rect);
	skins.push_back(skin);
*/
	cout << "captura";
	activezone.setBgSkin(_skin, rect);
}

void wuActiveZoneManager::draw(bool bCambiazo)
{
//    for (int i = 0; i < skins.size(); i++)
        activezone.draw(bCambiazo);	
}

void wuActiveZoneManager::clear()
{
/*        for (int i = skins.size()-1; i >= 0; i--)
        {
			skins.erase(skins.begin()+i);
		}
*/}


void wuActiveZoneManager::touch(vector <ofPoint> * _fingerList)
{
	activezone.touch(_fingerList);
}
